Saving a Form
After changes have been made, forms can be saved in one of two ways:
-
Click on the Save icon located in the Forms Designer Ribbon.
-
Click the Close button on the form. This action will auto-save the form.
Regardless of the save method chosen, you will be notified of any errors found within the form.
Error Handling During Save
When a form containing errors is saved using the Save icon, a message with two options will display:
- YES: The form will be saved with the existing errors.
- NO: The form will remain open without being saved. All errors will be highlighted for correction.
When a form containing errors is closed, a message with three options will display:
- YES: The form will be saved with the existing errors.
- NO: The form will be closed without being saved.
- CANCEL: The form will remain open without being saved. All errors will be highlighted for correction.
Handling Errors in Forms
Error Message: There is more than one editable attribute with the XPath .
- Reason: Two or more editable attributes with the same path in the data model have been included in the form.
- Solution: Remove the duplicated attribute or leave only one as editable.
- Error Example:
Error Message: The container has no elements. Include at least one.
- Reason: A Group or Tab has been inserted onto the form, but no elements have been included within it.
- Solution: Drag and drop a control into the container.
- Error Example:
Error Message: The Table has no columns. Include at least one.
- Reason: A Table has been inserted in the form, but no columns were defined.
- Solution: Click the Edit Columns button and include at least one column (attribute of the table).
- Error Examples:
Error Message: Add form property required.
- Reason: A Table has been added, the Allow Add property is enabled, Inline Edit is disabled, but no Add Form has been defined.
- Solution: Associate an Add Form, enable Inline Add, or disable the Allow Add functionality.
- Error Example:
- Resolve Example: Associate an Add Form.
- Resolve Example: Change the Allow Add property to false or Inline Add property to true.
Error Message: Check properties.
- Reason: A form was created but no Display Name was provided.
- Solution: Go to the Form Properties and type a name in the Display Name field.
- Error Examples:
Error Message: You cannot include this Control. It doesn’t have a Parent entity.
- Reason: A Cascading Combo control was added to the form with a parameter entity that has no parent entity.
- Solution: Ensure the entity you are trying to associate has a parent entity. If not, configure a parent entity by following the steps for parent and child entities.
- Error Example:
Error Message: You cannot convert this Control. It doesn’t have a Parent entity.
- Reason: Attempting to convert an existing control into a Cascading Combo control, but its Data Source is a parameter entity without a parent entity.
- Solution: Ensure the related entity has a parent entity and configure it by following the steps for parent and child entities.
- Error Example: